package pers.qianyu.comment.pojo.dto;

import lombok.*;

import javax.validation.constraints.*;

@Data
public class CommentDTO {
    private Long userId;
    @NotBlank(message = "评论对象 id 不能为空")
    private Long topicId;
    private Long parentId;
    @NotBlank(message = "评论内容不能为空")
    private String content;
}
